package com.fwj.user.entity.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * 表名：user_password_modify_record
*/
@ApiModel(value="com.fwj.auth.entity.UserPasswordModifyRecord")
@Data
@Table(name = "user_password_modify_record")
public class UserPasswordModifyRecord implements Serializable {
    /**
     * 日志表主键
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    @ApiModelProperty(value="日志表主键")
    private Long id;

    /**
     * 用户主键ID
     */
    @Column(name = "user_id")
    @ApiModelProperty(value="用户主键ID")
    private Long userId;

    /**
     * 旧密码
     */
    @Column(name = "old_password")
    @ApiModelProperty(value="旧密码")
    private String oldPassword;

    /**
     * 日志创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value="日志创建时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}
